﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Majesty_of_Omega.GUI.Pages.Game.Research.Parts.ResearchPointPart"
	x:Name="UserControl"
	d:DesignWidth="359.738" d:DesignHeight="284.779" xmlns:Majesty_of_Omega_GUI_Controls="clr-namespace:Majesty_of_Omega.GUI.Controls" xmlns:Majesty_of_Omega_GUI_Pages_Game_Research_Parts="clr-namespace:Majesty_of_Omega.GUI.Pages.Game.Research.Parts">

    <Grid x:Name="LayoutRoot">
        <Majesty_of_Omega_GUI_Controls:SetupPanelControl Style="{DynamicResource SubPanelLook}" Header="Research Points">
            <Grid HorizontalAlignment="Stretch" Width="Auto" Height="Auto">
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.135*"/>
                    <RowDefinition Height="0.024*"/>
                    <RowDefinition Height="0.53*"/>
                    <RowDefinition Height="0.311*"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.183*"/>
                    <ColumnDefinition Width="0.134*"/>
                    <ColumnDefinition Width="0.183*"/>
                    <ColumnDefinition Width="0.178*"/>
                    <ColumnDefinition Width="0.134*"/>
                    <ColumnDefinition Width="0.188*"/>
                </Grid.ColumnDefinitions>
                <Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FF000000" VerticalAlignment="Bottom" Height="Auto" Data="M59,700 L311,700" HorizontalAlignment="Stretch" Margin="8,0,8,0" Grid.ColumnSpan="6" Grid.Row="0"/>
                <Majesty_of_Omega_GUI_Pages_Game_Research_Parts:PercentageBar HorizontalAlignment="Stretch" x:Name="AppliedBar" Grid.Column="4" Grid.Row="2" Percentage="{Binding Path=AppliedResearchPercentage, ElementName=UserControl, Mode=Default}" d:LayoutOverrides="Height"/>
                <TextBlock HorizontalAlignment="Center" Margin="0,0,0,7" VerticalAlignment="Bottom" Height="Auto" Foreground="#FF000000" TextWrapping="Wrap" Grid.ColumnSpan="8" d:LayoutOverrides="Width, Height" Grid.Column="0"><Run Language="de-de" Text="Number of Research Points allocated"/></TextBlock>
                <Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FF000000" VerticalAlignment="Bottom" Height="1" Data="M66.994702,718.54933 L318.9947,718.54933" HorizontalAlignment="Stretch" Margin="8,0,8,0" Grid.ColumnSpan="6" Grid.Row="2"/>
                <Majesty_of_Omega_GUI_Pages_Game_Research_Parts:PercentageBar Percentage="{Binding Path=FundamentalResearchPercentage, ElementName=UserControl, Mode=Default}" HorizontalAlignment="Stretch" x:Name="FundBar" VerticalAlignment="Stretch" Grid.Row="2" d:LayoutOverrides="Height" Grid.ColumnSpan="1" Grid.Column="1"/>
                <TextBlock Width="Auto" TextWrapping="Wrap" HorizontalAlignment="Center" Margin="0,3,0,0" VerticalAlignment="Top" Height="Auto" Foreground="#FF000000" Text="Fundamental" Grid.Row="3" d:LayoutOverrides="Width, Height" Grid.Column="0" Grid.ColumnSpan="3"/>
                <TextBlock Width="Auto" TextWrapping="Wrap" Height="Auto" Foreground="#FF000000" Text="Applied" HorizontalAlignment="Center" Margin="0,3,0,0" VerticalAlignment="Top" Grid.Column="3" Grid.Row="3" d:LayoutOverrides="Width, Height" Grid.ColumnSpan="3"/>
                <TextBlock Width="Auto" TextWrapping="Wrap" VerticalAlignment="Top" Height="Auto" Foreground="#FF000000" Text="{Binding Path=FundamentalResearch, ElementName=UserControl, Mode=Default}" HorizontalAlignment="Center" Margin="0,20,0,0" Grid.Row="3" d:LayoutOverrides="Width" Grid.Column="1" x:Name="FundValue"/>
                <TextBlock Width="Auto" TextWrapping="Wrap" Height="Auto" Foreground="#FF000000" Text="{Binding Path=AppliedResearch, ElementName=UserControl, Mode=Default}" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,20,0,0" Grid.Column="4" Grid.Row="3" d:LayoutOverrides="Width" x:Name="AppliedValue"/>
                <TextBlock Width="Auto" TextWrapping="Wrap" Margin="8.989,0,-0.193,8" Height="Auto" Foreground="#FF000000" Text="Display by" VerticalAlignment="Bottom" Grid.Row="3" d:LayoutOverrides="Width, Height" Grid.ColumnSpan="2"/>
                <RadioButton HorizontalAlignment="Right" Margin="0,0,10.477,8" VerticalAlignment="Bottom" Content="Research Points" Grid.Row="3" IsChecked="True" GroupName="va" d:LayoutOverrides="HorizontalAlignment" Grid.Column="2" Grid.ColumnSpan="2"/>
                <RadioButton Margin="8.725,0,-4.066,8" VerticalAlignment="Bottom" Content="%" GroupName="va" Grid.Column="4" Grid.Row="3" d:LayoutOverrides="Width"/>
            </Grid>
        </Majesty_of_Omega_GUI_Controls:SetupPanelControl>
    </Grid>
</UserControl>